package interfacedemo;

/**
 * @author Brace
 * @Title:
 * @Description:
 * @date 2020/5/816:04
 */
public class WashMachine implements SmartHome {
    private  int height;
    private  int width;
    static class Roller{
        private static int rollerHeight;
        private static int rollerWidth;
        private static void runRoller(){
            System.out.println("洗衣机启动");
        }
    }
    public void useRoller(){
        Roller.runRoller();
    }
    @Override
    public void showYourFunction() {
        System.out.println("我是洗衣机");
    }

    @Override
    public boolean connection() {
        System.out.println("洗衣机已接入");
        return false;
    }
}
